<?php defined('IN_SYSTEM') or die('Access Denied'); //防止模板被盗?><!DOCTYPE html>
<html>
<head>
<link href="__CSS__/min.css" rel="stylesheet" type="text/css" title="当前模块CSS文件调用"  />
<script src="__PUBLIC_JS__/jquery.2.1.4.min.js" title="公共JS文件调用"></script>
<script src="__JS__/js.js" title="当前模块JS文件调用"></script>
</head>
<body>
<div style="width:1000px;margin:50px auto;">
    <h1 style="text-align:center;">前台首页示例模板</h1>
    <div style="float:left;width:760px;padding:20px;height:600px;">
        {volist name="data['news']" id="vo"}
            <ul>
                <li>图片:<img src="{$vo['img']}" height="100" width="100"></li>
                <li>标题:<a href="/show?id={$vo['id']}">{$vo['title']}</a></li>
                <li>作者:{$vo['author']}</li>
                <li>投票数:{$vo['vote_num']}</li>
            </ul>
        {/volist}

    </div>
</div>
</body>
<script>
    var token="{$token}";
</script>
</html>